package com.hdoit.kylin.logical.document.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.tennetcn.common.dao.base.impl.SuperService;
import com.hdoit.kylin.logical.document.dao.IReportCataLogEmployeeDao;
import com.hdoit.kylin.logical.document.model.ReportCataLogEmployee;
import com.hdoit.kylin.logical.document.service.IReportCataLogEmployeeService;
/**
 * @author      guoshuren
 * @email       
 * @createtime  2018年02月03日 19:08:19
 * @comment
 */
@Component
public class ReportCataLogEmployeeServiceImpl extends SuperService<ReportCataLogEmployee> implements IReportCataLogEmployeeService{

	public IReportCataLogEmployeeDao getReportCataLogEmployeeDao() {
		return reportCataLogEmployeeDao;
	}

	@Resource
	public void setReportCataLogEmployeeDao(
			IReportCataLogEmployeeDao reportCataLogEmployeeDao) {
		this.reportCataLogEmployeeDao = reportCataLogEmployeeDao;
	}

	private IReportCataLogEmployeeDao reportCataLogEmployeeDao;
	
	
	@Override
	public List<ReportCataLogEmployee> queryListByEmployee(String employeeId) {
		
		return getReportCataLogEmployeeDao().queryListByEmployee(employeeId);
	}

	@Override
	public List<ReportCataLogEmployee> queryListByReportCataLog(String reportId) {
		return getReportCataLogEmployeeDao().queryListByReportCataLog(reportId);
	}

	@Override
	public int deleteByReportId(String reportId) {
		return reportCataLogEmployeeDao.deleteByReportId(reportId);
	}

}